package com.damai.timer.impl;

import com.damai.timer.TimerJobFactory;

public class BaseTimerJobFactory implements TimerJobFactory {

	
	private String format;
	
	public BaseTimerJobFactory(String format) {
		this.format = format;
	}
	
	@Override
	public String cron(int value) {
		return String.format(format, value);
	}

}
